package it.uniroma2.wsdl;

public class Role_WSDL {
	private String name;
	private String portType;
	private final String roleTag = "plnk:role";
	
	
	public Role_WSDL(String roleName, String portType) {
		this.name = roleName;
		this.portType = portType;
	}
	
	
	public String toWSDL(){
		String output = "<" + this.roleTag + " name=\"" + this.name + "\" portType=\"" + this.portType + "\"/>\n";
		return output;
	}
}
